﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QskjServiceVehicleAlramToKafka.Dto
{
    /// <summary>
    /// 车载设备报警信息
    /// </summary>
    public class VehicleAlarm
    {
        /// <summary>
        /// 设备国标id
        /// </summary>
        public string? devGbId { get; set; }
        /// <summary>
        /// 报警id
        /// </summary>
        public string? alarmId { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? vehicleNo { get; set; }
        /// <summary>
        /// 告警类型
        /// </summary>
        public int alarmMainType { get; set; }
        /// <summary>
        /// 告警类型
        /// </summary>
        public int alarmSubType { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string? alarmType { get; set; }
        /// <summary>
        /// 告警时间
        /// </summary>
        public string? alarmTime { get; set; }
        /// <summary>
        /// 经度格式        ddd.ddddddddd(默认WGS84坐标)
        /// </summary>
        public string? latitude { get; set; }
        /// <summary>
        /// 纬度格式        ddd.ddddddddd(默认WGS84坐标)
        /// </summary>
        public string? longitude { get; set; }
        /// <summary>
        /// 速度（Km/s）
        /// </summary>
        public string? speed { get; set; }
        /// <summary>
        /// 报警附件
        /// </summary>
        public string? url { get; set; }
        /// <summary>
        /// 车载平台厂商        中安-“ZAKJ”锐明-“RUIMING”
        /// </summary>
        public string? platform { get; set; }
        /// <summary>
        /// 上报时间戳(单位毫秒) （必填）
        /// </summary>
        public long timestamp { get; set; }
        /// <summary>
        /// 0未处理，1已处理，2不可见
        /// </summary>
        public int IsInpector { get; set; }
        /// <summary>
        /// qskjId
        /// </summary>
        public int qskjId { get; set; }
        /// <summary>
        /// IsShow,0显示，1不显示
        /// </summary>
        public int IsShow { get; set; }
        /// <summary>
        /// IsShow,0显示，1不显示
        /// </summary>
        public int IsShowNum { get; set; }

    }
    /// <summary>
    /// 车载设备报警信息
    /// </summary>
    public class VehicleAlarmZl
    {
        /// <summary>
        /// 文件长度
        /// </summary>
        public int FileLength { get; set; }
        /// <summary>
        /// 报警文件相对路径
        /// </summary>
        public string? RelativePath { get; set; }
        /// <summary>
        /// 报警Id
        /// </summary>
        public string? AlarmID { get; set; }
        /// <summary>
        /// 地址长度
        /// </summary>
        public int AttachLength { get; set; }
        /// <summary>
        /// 报警文件地址
        /// </summary>
        public string? AttachPath { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? VehicleNo { get; set; }
        /// <summary>
        /// 经度格式        ddd.ddddddddd(默认WGS84坐标)
        /// </summary>
        public string? latitude { get; set; }
        /// <summary>
        /// 纬度格式        ddd.ddddddddd(默认WGS84坐标)
        /// </summary>
        public string? longitude { get; set; }
        /// <summary>
        /// 速度（Km/s）
        /// </summary>
        public string? speed { get; set; }
    }
}
